import { axios } from '@/utils/request'
/**
 * 类别违章数
 * @returns
 */
export function getQHSEViolationCategoryLBTree () {
    return axios({
      url: '/QHSEViolationCategory/LBTree',
      method: 'get'
    })
}
/**
 * 违章类别对应体系要素
 * @returns
 */
export function getQHSEViolationCategoryHSEList (parameter) {
  return axios({
    url: '/QHSEViolationCategoryHSE/GetHSEResult',
    method: 'get',
    params: parameter
  })
}

/**
 * 违章类别对应安全沟通列表
 * @returns
 */
 export function getQHSEViolationCategoryObsList (parameter) {
  return axios({
    url: '/QHSEViolationCategoryObs/GetOResult',
    method: 'get',
    params: parameter
  })
}
